package com.xingzhi;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

/**
 * @ClassName EurekaApplication
 * @DESCRIPTION 使用@EnableZuulProxy注解激活zuul。
 * 跟进该注解可以看到该注解整合了@EnableCircuitBreaker、@EnableDiscoveryClient，是个组合注解，目的是简化配置。
 * @Author RuanlinJing
 * @Date 2018/6/21 20:38
 * @Version 1.0
 **/
@SpringBootApplication
@EnableZuulProxy
public class ZuulApiGatewayApplication {
    public static void main(String[] args){
        SpringApplication.run(ZuulApiGatewayApplication.class,args);
    }
}
